import QtQuick
import QtQuick.Controls

Window {
    width: 640
    height: 480
    visible: true
    title: qsTr("Hello World")

Button {
    anchors.centerIn: parent
    width: 120
    height: 40
    font.pointSize: 14
    text: "打开文件"
    checkable: true
    icon.source: "qrc:/icons/file.png"
    onClicked: console.log("open file ...")
}
}
